package com.ccnf.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccnf.model.entity.ExpoUser;
import com.ccnf.model.enums.RoleTypeEnum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 展会用户角色信息表 Mapper 接口
 * </p>
 *
 * @author developer
 * @since 2018-11-15
 */
public interface ExpoUserMapper extends BaseMapper<ExpoUser> {

    ExpoUser selectExpoUser(@Param("expoId") Long expoId,
                            @Param("userId") Long userId);

    List<ExpoUser> selectExpoUserInfo(@Param("expoId") Long expoId,
                                      @Param("phone") String phone,
                                      @Param("userId") Long userId);
}